<%@ Page Language="C#" MasterPageFile="~/MasterPage3.master" AutoEventWireup="true" CodeFile="ReporteCotizaciones.aspx.cs" Inherits="ReporteCotizaciones" EnableEventValidation="false" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="C_ReporteCotizaciones" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


    <fieldset>
        <legend>Reporte Empleados</legend>
        <table>
            <tr>
                <td>
                    <asp:Label ID="lb_cotizacionReporte" runat="server" CssClass="label" Text="Cotizacion:"></asp:Label></td>
                <td style="width: 10px">
                    <asp:TextBox ID="tb_codCotizacionReport" runat="server" CssClass="textBoxLetras, textBox10"
                        MaxLength="10"></asp:TextBox></td>
                <td style="width: 10px">
                    <asp:Label ID="lb_empresaReport" runat="server" CssClass="label" Text="Empresa:"></asp:Label></td>
                <td style="width: 10px">
                    <asp:TextBox ID="tb_empresaReport" runat="server" CssClass="textBoxLetras, textBox30"
                        MaxLength="30"></asp:TextBox></td>
                <td style="width: 10px">
                    <asp:Label ID="lb_monedaReport" runat="server" CssClass="label" Text="Moneda"></asp:Label></td>
                <td style="width: 10px">
                    <asp:TextBox ID="tb_monedaReport" runat="server" CssClass="textBoxLetras, textBox20"
                        MaxLength="20"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lb_productoReport" runat="server" CssClass="label" Text="Producto:"></asp:Label></td>
                <td style="width: 10px">
                    <asp:TextBox ID="tb_productoReport" runat="server" CssClass="textBoxLetras,textBox30"
                        MaxLength="30"></asp:TextBox></td>
                <td style="width: 10px">
                    <asp:Label ID="lb_modeloReport" runat="server" CssClass="label" Text="Modelo:"></asp:Label></td>
                <td style="width: 10px">
                    <asp:TextBox ID="tb_modelo" runat="server" CssClass="textBoxLetras, textBox30" MaxLength="30"></asp:TextBox></td>
                <td style="width: 10px">
                    <asp:Label ID="lb_marcaReport" runat="server" CssClass="label" Text="Marca:"></asp:Label></td>
                <td style="width: 10px">
                    <asp:TextBox ID="tb_marcaReport" runat="server" CssClass="textBoxLetras, textBox20"
                        MaxLength="20"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 10px">
                </td>
                <td style="width: 10px">
                </td>
                <td style="width: 10px">
                </td>
                <td class="derecha" colspan="2">
                    <asp:ImageButton ID="ib_reporte" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/lupa.png"
                        ToolTip="Generar Reporte" OnClick="ib_reporte_Click" />
                    <asp:ImageButton ID="ib_cancelar" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/cancel.png"
                        ToolTip="Cancelar" OnClick="ib_cancelar_Click" /></td>
            </tr>
        </table>
        
    </fieldset>
    
    <cc1:FilteredTextBoxExtender ID="ftbe_producto" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_productoReport" ValidChars=" ">
    </cc1:FilteredTextBoxExtender><cc1:FilteredTextBoxExtender ID="ftbe_monedas" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_monedaReport" ValidChars=" ">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_empresa" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_empresaReport" ValidChars=" &-">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_modelo" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Numbers, Custom"
        TargetControlID="tb_modelo" ValidChars=" -&">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_marca" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_marcaReport" ValidChars=" -">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_codCotizacion" runat="server" FilterType="Numbers"
        TargetControlID="tb_codCotizacionReport">
    </cc1:FilteredTextBoxExtender>
    
    <fieldset class="centro">
        <legend>Reporte</legend>
        <table>
            <tr>
                <td>
                </td>
                <td style="width: 3px">
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 3px">
                    <CR:CrystalReportViewer ID="Reporte_Cotizaciones" runat="server" AutoDataBind="True"
                        DisplayGroupTree="False" Height="1093px" ReportSourceID="CrystalReportSource1"
                        Width="775px" />
                    <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
                        <Report FileName="Reportes\ReportePedidoCotizaciones.rpt">
                        </Report>
                    </CR:CrystalReportSource>
                    &nbsp;</td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 3px">
                    &nbsp;</td>
                <td>
                </td>
            </tr>
        </table>
        
    </fieldset>
</asp:Content>
